﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;

namespace XWord.Fundamental.Domain.Services
{
    public class RemotingServiceFactory
    {
        public static IWordService GetWordService()
        {
            return (IWordService)Activator.GetObject(
                typeof(IWordService),
                ConfigurationManager.AppSettings["service"]);
        }
    }
}
